home *** CD-ROM | disk | FTP | other *** search
- @if "%2"=="" goto help
- @ echo --------------------------------------------------------------------
- @ echo !
- @ echo ! Installing the HiPlot demo from drive %1 to c:\hiplot.
- @ echo ! (Microsoft Windows is installed in %2).
- @ echo !
- @ echo --------------------------------------------------------------------
- @ echo If this is not correct, press Ctrl-Break now. Otherwise
- @ pause
- @
- @ if exist %2\progman.ini goto winfound
- @ echo --------------------------------------------------------------------
- @ echo ! ERROR... %2\PROGMAN.INI file not found.
- @ echo ! Make sure you have entered the correct Windows directory!
- @ echo --------------------------------------------------------------------
- @ goto help
- @
- :winfound
- @ echo --------------------------------------------------------------------
- @ echo ! Copying files...
- @ echo --------------------------------------------------------------------
- @ md c:\hiplot
- @ copy %1\hiplot.ppt c:\hiplot
- @ copy %1\pptview.exe c:\hiplot
- @
- @ c:
- @ cd c:\hiplot
- @ hipkzp.exe
- @ del hipkzp.exe
- @
- @ copy %1\hiplot.grp c:\hiplot
- @ copy %2\progman.ini %2\progman.bak
- @ copy %2\progman.bak + %1\addline.txt %2\progman.ini
- @
- @ echo --------------------------------------------------------------------
- @ echo ! Installation Complete!
- @ echo !
- @ echo ! The demo will now start MS-Windows and run automatically
- @ echo !
- @ echo --------------------------------------------------------------------
- @ pause
- @ win c:\hiplot\pptview c:\hiplot\hiplot.ppt
- @
- @ echo --------------------------------------------------------------------
- @ echo ! HiPlot Demo Complete!
- @ echo !
- @ echo ! The demo will now remove the files it installed.
- @ echo !
- @ echo --------------------------------------------------------------------
- @ echo To keep the demo loaded, press Ctrl-Break now. Otherwise
- @ pause
- @ c:
- @ del c:\hiplot\hiplot.grp
- @ del c:\hiplot\hiplot.ppt
- @ del c:\hiplot\pptview.exe
- @ cd c:\
- @ rd c:\hiplot
- @ copy %2\progman.bak %2\progman.ini
- @
- @ echo --------------------------------------------------------------------
- @ echo ! Done!
- @ echo --------------------------------------------------------------------
- @goto end
- @
- :help
- @ echo --------------------------------------------------------------------
- @ echo !
- @ echo ! Syntax is INSTALL indrive: outdrive:windowsdir
- @ echo !
- @ echo ! Where-
- @ echo ! indrive: is the floppy drive to install from.
- @ echo ! outdrive: is the hard drive to install to.
- @ echo ! windowsdir: the directory on outdrive MS-Windows is in.
- @ echo !
- @ echo ! For example-
- @ echo ! INSTALL a: c:\windows
- @ echo !
- @ echo --------------------------------------------------------------------
- :end
-
-